const Sequelize = require('sequelize');
const sequelize=new Sequelize('Crawler','sa','123456',{
    host:'localhost',
    dialect:'mssql'
});

sequelize.authenticate()
.then(()=>{
    console.log('链接成功！')
}).catch(()=>{
    console.log('链接失败！')
});

module.exports=sequelize;